import { createMemoryHistory, createRouter } from 'vue-router'

import Header from '../components/Header.vue'
import Footer from '../components/Footer.vue'

const routes = [
    { path: '/header', component: Header },
    { path: '/footer', component: Footer },
]

const router = createRouter({
    history: createMemoryHistory(),
    routes,
})

export default router